package com.example.demo2.generator.mapper;

import com.example.demo2.generator.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Login)表数据库访问层
 *
 * @author makejava
 * @since 2024-09-07 13:55:49
 */
@Mapper
public interface UserDao {


    User queryByPwdAnd(@Param("username") String username, @Param("password") String password);
    List<User>queryAllLogin();
    int getLoginCount();


}

